.class public abstract Lcom/direction/hold/ui/CommonActivity;
.super Landroid/app/Activity;

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private A:Landroid/view/View;

.field private B:Landroid/view/View;

.field private C:Landroid/view/View;

.field private D:Landroid/view/View;

.field private E:Landroid/view/View;

.field private F:Landroid/view/View;

.field private G:Landroid/view/View;

.field private H:Landroid/view/View;

.field private I:Landroid/app/AlertDialog;

.field private J:Ljava/lang/Boolean;

.field private K:Landroid/view/View$OnTouchListener;

.field private L:Landroid/widget/TextView;

.field private M:Landroid/widget/TextView;

.field private N:Landroid/widget/TextView;

.field private O:Landroid/widget/TextView;

.field private P:Lcn/cheln/support/adapter/d;

.field private Q:Landroid/graphics/drawable/Drawable;

.field private R:Lcn/cheln/support/adapter/MapAdapter;

.field public a:Lcn/cheln/explorer/ds/a/d;

.field public b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

.field public c:Landroid/widget/ListView;

.field public d:Lcom/direction/hold/ui/CommonActivity;

.field public e:Lcn/cheln/explorer/actions/sort/a;

.field public f:Landroid/app/ProgressDialog;

.field public g:Ljava/util/Map;

.field public h:Landroid/view/View;

.field public i:Landroid/os/Handler;

.field public j:Ljava/util/List;

.field public k:I

.field public l:I

.field public m:Lcn/cheln/explorer/ds/a/c;

.field public n:I

.field protected o:Lcn/cheln/explorer/actions/OperationUtil;

.field protected p:Lcn/cheln/explorer/beans/FileInfo;

.field protected q:Landroid/view/View;

.field protected r:[Lcn/cheln/support/adapter/c;

.field protected s:Landroid/view/View;

.field t:Z

.field u:Landroid/widget/AdapterView$OnItemClickListener;

.field private v:Landroid/app/Dialog;

.field private w:Ljava/lang/String;

.field private x:Landroid/widget/Button;

.field private y:Lcn/cheln/support/adapter/d;

.field private z:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 3

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    new-instance v0, Lcn/cheln/explorer/ds/a/d;

    invoke-direct {v0}, Lcn/cheln/explorer/ds/a/d;-><init>()V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->g:Ljava/util/Map;

    new-instance v0, Lcom/direction/hold/ui/CommonActivity$1;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/CommonActivity$1;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->i:Landroid/os/Handler;

    const/4 v0, -0x1

    iput v0, p0, Lcom/direction/hold/ui/CommonActivity;->n:I

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->J:Ljava/lang/Boolean;

    const/4 v0, 0x1

    new-array v0, v0, [Lcn/cheln/support/adapter/c;

    const/4 v1, 0x0

    new-instance v2, Lcom/direction/hold/ui/a;

    invoke-direct {v2, p0}, Lcom/direction/hold/ui/a;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    aput-object v2, v0, v1

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->r:[Lcn/cheln/support/adapter/c;

    new-instance v0, Lcom/direction/hold/ui/CommonActivity$ListItemClickListener;

    invoke-direct {v0, p0}, Lcom/direction/hold/ui/CommonActivity$ListItemClickListener;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->u:Landroid/widget/AdapterView$OnItemClickListener;

    new-instance v0, Lcn/cheln/explorer/ui/HighLightListener;

    invoke-direct {v0}, Lcn/cheln/explorer/ui/HighLightListener;-><init>()V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    return-void
.end method

.method private B()V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x2

    const/4 v2, 0x1

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->c(I)V

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0, v2}, Lcom/direction/hold/ui/CountActivity;->a(Z)V

    :cond_0
    sget-boolean v0, Lcom/direction/hold/ui/SearchActivity;->G:Z

    if-eqz v0, :cond_1

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/direction/hold/ui/SearchActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->startActivity(Landroid/content/Intent;)V

    :cond_1
    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->a(Z)V

    sget-object v0, Lcn/cheln/explorer/actions/a;->a:Ljava/util/Map;

    sget-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/direction/hold/ui/CommonActivity;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->a(ZZ)V

    sget-object v0, Lcn/cheln/explorer/actions/a;->a:Ljava/util/Map;

    sget-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/direction/hold/ui/CommonActivity;

    invoke-virtual {v0, v2}, Lcom/direction/hold/ui/CommonActivity;->a(Z)V

    sget-object v0, Lcn/cheln/explorer/actions/a;->a:Ljava/util/Map;

    sget-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/direction/hold/ui/CommonActivity;

    invoke-virtual {v0, v4}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    const/4 v0, -0x1

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->c()V

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    return-void
.end method

.method static synthetic a(Lcom/direction/hold/ui/CommonActivity;)Lcn/cheln/support/adapter/MapAdapter;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    return-object v0
.end method

.method public static a()V
    .locals 2

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    const/4 v1, 0x2

    iput v1, v0, Lcom/direction/hold/ui/CountActivity;->n:I

    sget-object v0, Lcom/direction/hold/ui/CountActivity;->v:Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/CountActivity;->v()V

    return-void
.end method

.method protected static a(Lcn/cheln/explorer/beans/FileInfo;Lcn/cheln/explorer/beans/FileInfo;Ljava/lang/Boolean;Lcom/direction/hold/ui/CommonActivity;)V
    .locals 2

    if-eqz p2, :cond_0

    invoke-virtual {p0}, Lcn/cheln/explorer/beans/FileInfo;->m()V

    invoke-virtual {p0}, Lcn/cheln/explorer/beans/FileInfo;->c()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    invoke-static {p1, p0, p3}, Lcn/cheln/explorer/ds/database/a/a;->a(Lcn/cheln/explorer/beans/FileInfo;Lcn/cheln/explorer/beans/FileInfo;Lcom/direction/hold/ui/CommonActivity;)V

    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    instance-of v1, p3, Lcom/direction/hold/ui/PathActivity;

    if-eqz v1, :cond_1

    const/4 v1, 0x0

    :goto_0
    invoke-virtual {v0, v1}, Lcn/cheln/explorer/util/a;->a(Lcom/direction/hold/ui/CommonActivity;)V

    :cond_0
    return-void

    :cond_1
    move-object v1, p3

    goto :goto_0
.end method

.method private a(ZZLandroid/widget/CheckBox;)V
    .locals 5

    const/4 v4, 0x0

    move v1, v4

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    const v2, 0x7f080051

    invoke-static {v0, v2}, Lcn/cheln/support/app/a;->a(Ljava/lang/Object;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    invoke-virtual {v0, p1}, Landroid/widget/CheckBox;->setChecked(Z)V

    if-eqz p3, :cond_0

    if-nez p1, :cond_1

    const/4 v0, 0x1

    :goto_1
    invoke-virtual {p3, v0}, Landroid/widget/CheckBox;->setChecked(Z)V

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    move v0, v4

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;

    invoke-virtual {v0, p1}, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;->a(Z)V

    :cond_3
    if-eqz p2, :cond_4

    if-nez p1, :cond_5

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object p0

    check-cast p0, Lcn/cheln/support/adapter/MapAdapter;

    invoke-virtual {p0}, Lcn/cheln/support/adapter/MapAdapter;->f()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_4
    return-void

    :cond_5
    const/4 v0, 0x0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    if-eqz v1, :cond_4

    const-string v1, ""

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "=========<> "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v3}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->getCount()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    move-object v1, v0

    move v0, v4

    :goto_2
    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v2}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->getCount()I

    move-result v2

    if-ge v0, v2, :cond_4

    :try_start_0
    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v2, v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->a(I)Lcn/cheln/explorer/beans/FileInfo;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    :goto_3
    if-eqz p1, :cond_6

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v1}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    :cond_6
    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :catch_0
    move-exception v2

    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_3
.end method

.method private static a(Ljava/io/File;Ljava/util/List;)Z
    .locals 4

    const/4 v3, 0x0

    invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/a/b;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v3

    :goto_0
    return v0

    :cond_0
    move-object v0, p0

    :cond_1
    invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    :cond_2
    const/4 v0, 0x1

    goto :goto_0

    :cond_3
    invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v1

    sget-object v2, Lcn/cheln/explorer/ds/a/b;->c:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    move v0, v3

    goto :goto_0
.end method

.method private b(Landroid/view/ContextMenu;)V
    .locals 8

    const/4 v6, 0x0

    const-string v7, ""

    const v0, 0x7f050041

    invoke-interface {p1, v0}, Landroid/view/ContextMenu;->setHeaderTitle(I)Landroid/view/ContextMenu;

    const-string v0, ""

    const-string v0, "pass sdcardbutton"

    invoke-static {v7, v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    const v0, 0x7f0500bc

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    move v2, v6

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    const-string v0, ""

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v3, "sdcardbutton "

    invoke-direct {v0, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v7, v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    const/16 v3, 0xf

    add-int/lit8 v4, v2, 0x64

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->size()I

    move-result v0

    const/4 v5, 0x1

    sub-int/2addr v0, v5

    if-eq v2, v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0, v2}, Ljava/util/Stack;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->c:Ljava/lang/String;

    :goto_1
    invoke-interface {p1, v3, v4, v6, v0}, Landroid/view/ContextMenu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_0
    move-object v0, v1

    goto :goto_1

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/direction/hold/ui/CommonActivity;)V
    .locals 2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->Q:Landroid/graphics/drawable/Drawable;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020005

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->Q:Landroid/graphics/drawable/Drawable;

    :cond_0
    return-void
.end method


# virtual methods
.method protected abstract A()V
.end method

.method public final a(Ljava/lang/String;Lcn/cheln/explorer/ui/b;)Lcn/cheln/explorer/ui/b;
    .locals 2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->g:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "class -- "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->g:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->g:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcn/cheln/explorer/ui/b;

    return-object p0
.end method

.method public final a(Landroid/view/View;Lcn/cheln/explorer/beans/FileInfo;Z)Ljava/lang/Boolean;
    .locals 6

    const/4 v5, 0x0

    const/4 v4, 0x1

    const/4 v3, 0x0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    if-nez v1, :cond_0

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    :goto_0
    return-object v1

    :cond_0
    move-object v0, p1

    check-cast v0, Landroid/widget/CheckBox;

    move-object v1, v0

    iget-object v2, p2, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_1

    if-eqz p3, :cond_1

    invoke-virtual {v1, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    move-object v1, v5

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->J:Ljava/lang/Boolean;

    if-nez v2, :cond_2

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    goto :goto_0

    :cond_2
    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->J:Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-nez v2, :cond_4

    check-cast p1, Landroid/widget/CheckBox;

    invoke-virtual {p1}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v2

    if-nez v2, :cond_3

    move-object v1, v5

    :cond_3
    invoke-direct {p0, v3, v4, v1}, Lcom/direction/hold/ui/CommonActivity;->a(ZZLandroid/widget/CheckBox;)V

    :cond_4
    invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    goto :goto_0
.end method

.method public a(I)V
    .locals 2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    const v1, 0x7f080071

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-nez p0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    const v0, 0x7f050012

    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method public final a(III)V
    .locals 5

    const/4 v4, 0x0

    const/4 v3, 0x1

    const-string v0, ""

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "=== operationSrc.size()==0 "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-nez v2, :cond_4

    move v2, v3

    :goto_0
    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " operationSrc.isEmpty() "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->isEmpty()Z

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_0
    move v0, v4

    :goto_1
    if-eqz v0, :cond_6

    if-ne p1, v3, :cond_6

    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    :cond_1
    :goto_2
    if-nez p3, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0, v3}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->b(Z)V

    :cond_2
    const/4 v0, 0x2

    if-ne p3, v0, :cond_3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, p2}, Landroid/widget/ListView;->setSelection(I)V

    :cond_3
    invoke-virtual {p0, v4, v4}, Lcom/direction/hold/ui/CommonActivity;->a(ZZ)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->j()V

    return-void

    :cond_4
    move v2, v4

    goto :goto_0

    :cond_5
    move v0, v3

    goto :goto_1

    :cond_6
    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->a:Lcom/direction/hold/ui/SlideActivity;

    iget v0, v0, Lcom/direction/hold/ui/SlideActivity;->c:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->a()I

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->a()I

    move-result v0

    if-eq v0, v3, :cond_1

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->c()V

    goto :goto_2
.end method

.method public final a(IILcn/cheln/explorer/ds/a/c;)V
    .locals 2

    invoke-virtual {p0, p1, p2, p3}, Lcom/direction/hold/ui/CommonActivity;->b(IILcn/cheln/explorer/ds/a/c;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->s()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method protected a(Landroid/view/ContextMenu;)V
    .locals 0

    return-void
.end method

.method public final a(Landroid/view/Menu;I)V
    .locals 2

    const/4 v0, 0x0

    :goto_0
    if-ge v0, p2, :cond_0

    invoke-interface {p1, v0}, Landroid/view/Menu;->getItem(I)Landroid/view/MenuItem;

    move-result-object v1

    invoke-interface {v1, p0}, Landroid/view/MenuItem;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Landroid/view/MenuItem;

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method public a(Lcn/cheln/explorer/beans/FileInfo;)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p1, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Lcn/cheln/explorer/beans/FileInfo;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f0500b7

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {p1, v0}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/beans/FileInfo;Landroid/content/Context;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v0

    check-cast v0, Lcn/cheln/support/adapter/MapAdapter;

    invoke-virtual {v0}, Lcn/cheln/support/adapter/MapAdapter;->c()Ljava/util/Map;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v1, v3}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    new-instance v1, Lcn/cheln/explorer/ds/a/e;

    invoke-direct {v1, p1, v3}, Lcn/cheln/explorer/ds/a/e;-><init>(Lcn/cheln/explorer/beans/FileInfo;B)V

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {p0, v1, v0, v3, v2}, Lcom/direction/hold/ui/CommonActivity;->a(Lcn/cheln/explorer/ds/a/c;III)V

    goto :goto_0
.end method

.method public final a(Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;)V
    .locals 1

    invoke-virtual {p1}, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;->b()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0}, Lcn/cheln/explorer/cpnt/adapter/d;->b(Lcom/direction/hold/ui/CommonActivity;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0}, Lcn/cheln/explorer/cpnt/adapter/d;->a(Lcom/direction/hold/ui/CommonActivity;)V

    :goto_0
    return-void

    :cond_0
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    goto :goto_0
.end method

.method protected final a(Lcn/cheln/explorer/ds/a/c;)V
    .locals 0

    invoke-virtual {p0, p1}, Lcom/direction/hold/ui/CommonActivity;->b(Lcn/cheln/explorer/ds/a/c;)V

    return-void
.end method

.method public abstract a(Lcn/cheln/explorer/ds/a/c;III)V
.end method

.method public final a(Ljava/lang/Class;)V
    .locals 1

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->e()Lcn/cheln/support/adapter/d;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    invoke-virtual {p0, p1, v0}, Lcom/direction/hold/ui/CommonActivity;->a(Ljava/lang/Class;Lcn/cheln/support/adapter/d;)V

    return-void
.end method

.method public final a(Ljava/lang/Class;Lcn/cheln/support/adapter/d;)V
    .locals 4

    const/4 v3, 0x0

    const/4 v0, 0x2

    :try_start_0
    new-array v0, v0, [Ljava/lang/Class;

    const/4 v1, 0x0

    const-class v2, Landroid/content/Context;

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-class v2, Lcn/cheln/support/adapter/d;

    aput-object v2, v0, v1

    invoke-virtual {p1, v0}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;

    move-result-object v0

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p0, v1, v2

    const/4 v2, 0x1

    aput-object p2, v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->i:Landroid/os/Handler;

    invoke-static {}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->a()V

    const v0, 0x7f08005b

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->c()Landroid/view/View;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->c()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/AdapterView;->setEmptyView(Landroid/view/View;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->z()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getEmptyView()Landroid/view/View;

    move-result-object v0

    const v2, 0x7f080080

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnCreateContextMenuListener(Landroid/view/View$OnCreateContextMenuListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->u:Landroid/widget/AdapterView$OnItemClickListener;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->u:Landroid/widget/AdapterView$OnItemClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    :cond_1
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 0

    return-void
.end method

.method public final a(Z)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0, p1}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->b(Z)V

    move v1, v3

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getChildCount()I

    move-result v0

    if-ge v1, v0, :cond_2

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    const v2, 0x7f080051

    invoke-static {v0, v2}, Lcn/cheln/support/app/a;->a(Ljava/lang/Object;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_1

    move v2, v3

    :goto_1
    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setVisibility(I)V

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    const/16 v2, 0x8

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->notifyDataSetChanged()V

    :cond_3
    return-void
.end method

.method public final a(ZZ)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, p2, v0}, Lcom/direction/hold/ui/CommonActivity;->a(ZZLandroid/widget/CheckBox;)V

    return-void
.end method

.method protected abstract a(Landroid/view/MenuItem;)Z
.end method

.method protected final b(Ljava/lang/String;)Ljava/io/File;
    .locals 6

    const/4 v5, 0x0

    const-string v3, "/"

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    move-object v0, v5

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->p()Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    const-string v2, "/"

    const-string v2, "/"

    invoke-virtual {v0, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string v2, ""

    :goto_1
    new-instance v3, Ljava/io/File;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/io/File;->mkdirs()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->v()V

    move-object v0, v3

    goto :goto_0

    :cond_1
    move-object v0, v5

    goto :goto_0

    :cond_2
    move-object v2, v3

    goto :goto_1
.end method

.method public final b()V
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    if-nez v0, :cond_0

    :cond_0
    return-void
.end method

.method protected abstract b(I)V
.end method

.method protected abstract b(IILcn/cheln/explorer/ds/a/c;)V
.end method

.method protected b(Lcn/cheln/explorer/beans/FileInfo;)V
    .locals 0

    return-void
.end method

.method protected final b(Lcn/cheln/explorer/ds/a/c;)V
    .locals 3

    :try_start_0
    iget v0, p1, Lcn/cheln/explorer/ds/a/c;->a:I

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {p0, p1, v0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->b(Lcn/cheln/explorer/ds/a/c;III)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method protected abstract b(Lcn/cheln/explorer/ds/a/c;III)V
.end method

.method public c()Landroid/view/View;
    .locals 1

    const v0, 0x7f08007e

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method protected final c(I)V
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method public final d()V
    .locals 3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {p0}, Lcn/cheln/explorer/actions/OperationUtil;->c(Landroid/content/Context;)V

    const/4 v0, 0x0

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-direct {p0, v0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->a(ZZLandroid/widget/CheckBox;)V

    return-void
.end method

.method public final e()Lcn/cheln/support/adapter/d;
    .locals 5

    const/4 v4, 0x6

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    if-nez v0, :cond_0

    new-instance v0, Lcn/cheln/support/adapter/d;

    invoke-direct {v0}, Lcn/cheln/support/adapter/d;-><init>()V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    new-array v1, v4, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "sizeText"

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-string v3, "name"

    aput-object v3, v1, v2

    const/4 v2, 0x2

    const-string v3, "lastModified"

    aput-object v3, v1, v2

    const/4 v2, 0x3

    const-string v3, "countStr"

    aput-object v3, v1, v2

    const/4 v2, 0x4

    const-string v3, "iconRes"

    aput-object v3, v1, v2

    const/4 v2, 0x5

    const-string v3, "isUISelected"

    aput-object v3, v1, v2

    iput-object v1, v0, Lcn/cheln/support/adapter/d;->b:[Ljava/lang/String;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    new-instance v1, Lcn/cheln/explorer/cpnt/adapter/c;

    invoke-direct {v1}, Lcn/cheln/explorer/cpnt/adapter/c;-><init>()V

    iput-object v1, v0, Lcn/cheln/support/adapter/d;->a:Lcn/cheln/support/adapter/a;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    new-array v1, v4, [I

    fill-array-data v1, :array_0

    iput-object v1, v0, Lcn/cheln/support/adapter/d;->c:[I

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    const v1, 0x7f03000d

    iput v1, v0, Lcn/cheln/support/adapter/d;->d:I

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->r:[Lcn/cheln/support/adapter/c;

    iput-object v1, v0, Lcn/cheln/support/adapter/d;->e:[Lcn/cheln/support/adapter/c;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->y:Lcn/cheln/support/adapter/d;

    return-object v0

    :array_0
    .array-data 0x4
        0x56t 0x0t 0x8t 0x7ft
        0x53t 0x0t 0x8t 0x7ft
        0x55t 0x0t 0x8t 0x7ft
        0x54t 0x0t 0x8t 0x7ft
        0x50t 0x0t 0x8t 0x7ft
        0x51t 0x0t 0x8t 0x7ft
    .end array-data
.end method

.method public final f()Landroid/view/View;
    .locals 3

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030012

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public finish()V
    .locals 3

    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    iget-object v1, v0, Lcn/cheln/explorer/util/a;->a:Ljava/util/Map;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v0, v0, Lcn/cheln/explorer/util/a;->a:Ljava/util/Map;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    invoke-super {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method public final g()Z
    .locals 3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->s:Landroid/view/View;

    if-nez v0, :cond_4

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->f()Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->s:Landroid/view/View;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    const-string v0, ""

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "11 #--"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->setContentView(Landroid/view/View;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->o()V

    const-class v0, Lcn/cheln/explorer/cpnt/adapter/PathAdapter;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(Ljava/lang/Class;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->r()V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    if-nez v0, :cond_2

    const/4 v1, 0x0

    :goto_0
    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    const-string v2, "com.lewa.filemgr.path_start"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_1
    :goto_2
    const/4 v0, 0x1

    return v0

    :cond_2
    invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    :cond_3
    const-string v1, "SELECT_MODE"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->J:Ljava/lang/Boolean;

    const-string v1, "CALLBACK_ACTION"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->s:Landroid/view/View;

    if-eq v0, v1, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->s:Landroid/view/View;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->h:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->setContentView(Landroid/view/View;)V

    goto :goto_2
.end method

.method public final h()[Lcn/cheln/support/adapter/c;
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->r:[Lcn/cheln/support/adapter/c;

    return-object v0
.end method

.method public final i()V
    .locals 1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;)V

    return-void
.end method

.method public final j()V
    .locals 2

    const/4 v1, 0x1

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-eq v0, v1, :cond_1

    move v0, v1

    :goto_0
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    iget-boolean v1, v1, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->e:Z

    if-eq v1, v0, :cond_0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->a(Z)V

    :cond_0
    return-void

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected abstract k()V
.end method

.method protected l()V
    .locals 2

    const/4 v1, 0x0

    new-instance v0, Lcn/cheln/explorer/actions/sort/ObjectSort;

    invoke-direct {v0, v1, v1}, Lcn/cheln/explorer/actions/sort/ObjectSort;-><init>(II)V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    return-void
.end method

.method public final m()Z
    .locals 1

    iget-boolean v0, p0, Lcom/direction/hold/ui/CommonActivity;->t:Z

    return v0
.end method

.method public final n()V
    .locals 2

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->e:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;

    invoke-static {v0, p0}, Lcn/cheln/support/app/a;->a(Lcn/cheln/explorer/beans/FileInfo;Landroid/content/Context;)V

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final o()V
    .locals 2

    const v0, 0x7f080084

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnCreateContextMenuListener(Landroid/view/View$OnCreateContextMenuListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    new-instance v1, Lcom/direction/hold/ui/CommonActivity$5;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CommonActivity$5;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    new-instance v1, Lcom/direction/hold/ui/CommonActivity$6;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CommonActivity$6;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method public onAttachedToWindow()V
    .locals 2

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v1, 0x7d4

    invoke-virtual {v0, v1}, Landroid/view/Window;->setType(I)V

    invoke-super {p0}, Landroid/app/Activity;->onAttachedToWindow()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const/16 v7, 0x8

    const/4 v6, 0x2

    const/4 v5, 0x0

    const/4 v4, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->d()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->h()Z

    move-result v0

    const-string v1, ""

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "selectOption ====== "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    if-nez v0, :cond_1

    move v1, v4

    :goto_1
    invoke-virtual {p0, v1, v4}, Lcom/direction/hold/ui/CommonActivity;->a(ZZ)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->w()V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    invoke-virtual {p0, v7}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->requestLayout()V

    goto :goto_0

    :cond_1
    move v1, v5

    goto :goto_1

    :sswitch_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v0, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Lcom/direction/hold/ui/CommonActivity;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {v0, v6, p0}, Lcn/cheln/explorer/actions/OperationUtil;->a(ILandroid/content/Context;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    goto :goto_0

    :sswitch_3
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v0, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {p0, v5}, Lcom/direction/hold/ui/CommonActivity;->b(I)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v0, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->b(I)V

    goto :goto_0

    :sswitch_5
    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Lcom/direction/hold/ui/CommonActivity;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->p()Ljava/io/File;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "--------target "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v1, Lcn/cheln/explorer/actions/OperationUtil;->b:Ljava/util/List;

    invoke-static {v1}, Lcn/cheln/explorer/actions/OperationUtil;->a(Ljava/util/List;)Ljava/util/List;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CommonActivity;->a(Ljava/io/File;Ljava/util/List;)Z

    move-result v1

    if-eqz v1, :cond_4

    invoke-virtual {p0, v7}, Lcom/direction/hold/ui/CommonActivity;->c(I)V

    const/4 v0, -0x1

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->a()I

    move-result v1

    if-nez v1, :cond_3

    const v0, 0x7f05000f

    :cond_2
    :goto_2
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, v1, Lcn/cheln/explorer/actions/OperationUtil;->h:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->clear()V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->c()V

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->a(Z)V

    const v1, 0x7f05003e

    new-array v2, v4, [Ljava/lang/Object;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    aput-object v0, v2, v5

    invoke-virtual {p0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :cond_3
    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->a()I

    move-result v1

    if-ne v1, v4, :cond_2

    const v0, 0x7f050011

    goto :goto_2

    :cond_4
    invoke-static {v0}, Lcn/cheln/support/app/a;->a(Ljava/io/File;)Ljava/io/File;

    move-result-object v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {v1, v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {v0, p0}, Lcn/cheln/explorer/actions/OperationUtil;->b(Landroid/content/Context;)V

    invoke-virtual {p0, v7}, Lcom/direction/hold/ui/CommonActivity;->c(I)V

    sput-boolean v5, Lcom/direction/hold/ui/SearchActivity;->G:Z

    goto/16 :goto_0

    :sswitch_6
    invoke-direct {p0}, Lcom/direction/hold/ui/CommonActivity;->B()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f08005e -> :sswitch_5
        0x7f080060 -> :sswitch_6
        0x7f080066 -> :sswitch_2
        0x7f080068 -> :sswitch_4
        0x7f08006a -> :sswitch_3
        0x7f08006d -> :sswitch_0
        0x7f08006f -> :sswitch_1
    .end sparse-switch
.end method

.method public onContextItemSelected(Landroid/view/MenuItem;)Z
    .locals 8

    const/4 v7, 0x0

    const v6, 0x7f050086

    const/4 v5, 0x2

    const/4 v4, 0x0

    const/4 v3, 0x1

    invoke-interface {p1}, Landroid/view/MenuItem;->getMenuInfo()Landroid/view/ContextMenu$ContextMenuInfo;

    move-result-object v0

    check-cast v0, Landroid/widget/AdapterView$AdapterContextMenuInfo;

    invoke-interface {p1}, Landroid/view/MenuItem;->getGroupId()I

    move-result v1

    const/16 v2, 0x12

    if-ne v1, v2, :cond_1

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v1

    packed-switch v1, :pswitch_data_0

    :cond_0
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->H:Landroid/view/View;

    instance-of v1, v1, Landroid/widget/ListView;

    if-eqz v1, :cond_5

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    check-cast v1, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;

    iget v0, v0, Landroid/widget/AdapterView$AdapterContextMenuInfo;->position:I

    invoke-virtual {v1, v0}, Lcn/cheln/explorer/cpnt/adapter/ThumbnailAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    :goto_0
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    if-nez v1, :cond_2

    move v0, v4

    :goto_1
    return v0

    :pswitch_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v1, v1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-static {v0, v1, v5}, Lcn/cheln/support/app/a;->a(Landroid/content/Context;Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0, v6, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    move v0, v3

    goto :goto_1

    :pswitch_1
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v1, v1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-static {v0, v1, v3}, Lcn/cheln/support/app/a;->a(Landroid/content/Context;Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0, v6, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    move v0, v3

    goto :goto_1

    :pswitch_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v1, v1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-static {v0, v1, v4}, Lcn/cheln/support/app/a;->a(Landroid/content/Context;Ljava/lang/String;I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0, v6, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    move v0, v3

    goto :goto_1

    :cond_1
    invoke-interface {p1}, Landroid/view/MenuItem;->getGroupId()I

    move-result v1

    const/16 v2, 0x1d

    if-ne v1, v2, :cond_0

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    packed-switch v0, :pswitch_data_1

    move-object v0, v7

    :goto_2
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v1, v1, Lcn/cheln/explorer/beans/FileInfo;->path:Ljava/lang/String;

    invoke-static {v1, p0, v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Ljava/lang/String;Landroid/content/Context;Ljava/lang/String;)V

    move v0, v3

    goto :goto_1

    :pswitch_3
    const-string v0, "image/*"

    goto :goto_2

    :pswitch_4
    const-string v0, "audio/*"

    goto :goto_2

    :pswitch_5
    const-string v0, "video/*"

    goto :goto_2

    :pswitch_6
    const-string v0, "text/*"

    goto :goto_2

    :pswitch_7
    const-string v0, "application/vnd.android.package-archive"

    goto :goto_2

    :pswitch_8
    const-string v0, "application/*"

    goto :goto_2

    :cond_2
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v1

    const/16 v2, 0x63

    if-le v1, v2, :cond_3

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v1

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v2, v2, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v2}, Ljava/util/Stack;->size()I

    move-result v2

    add-int/lit8 v2, v2, 0x64

    sub-int/2addr v2, v3

    if-ge v1, v2, :cond_3

    invoke-virtual {p0, p1}, Lcom/direction/hold/ui/CommonActivity;->a(Landroid/view/MenuItem;)Z

    move v0, v3

    goto/16 :goto_1

    :cond_3
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v1

    sparse-switch v1, :sswitch_data_0

    move v0, v4

    goto/16 :goto_1

    :sswitch_0
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {}, Lcn/cheln/explorer/actions/OperationUtil;->c()V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->A()V

    move v0, v3

    goto/16 :goto_1

    :sswitch_1
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    sput-object v1, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->b(I)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->p()Ljava/io/File;

    move-result-object v0

    instance-of v1, p0, Lcom/direction/hold/ui/SearchActivity;

    if-eqz v1, :cond_4

    invoke-virtual {v0}, Ljava/io/File;->getParentFile()Ljava/io/File;

    move-result-object v0

    :cond_4
    new-instance v1, Lcn/cheln/explorer/beans/FileInfo;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-direct {v1, v0, v2}, Lcn/cheln/explorer/beans/FileInfo;-><init>(Ljava/io/File;Landroid/content/Context;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-static {v1, v0, p0, v2}, Lcom/direction/hold/ui/SearchActivity;->a(Lcn/cheln/explorer/beans/FileInfo;Lcn/cheln/explorer/beans/FileInfo;Landroid/app/Activity;I)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_3
    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    sput-object v1, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    invoke-virtual {p0, v3}, Lcom/direction/hold/ui/CommonActivity;->b(I)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_4
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v0, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    const/4 v0, 0x4

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->showDialog(I)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_5
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v1, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {v0, v5, p0}, Lcn/cheln/explorer/actions/OperationUtil;->a(ILandroid/content/Context;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    move v0, v3

    goto/16 :goto_1

    :sswitch_6
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sput-object v0, Lcn/cheln/explorer/actions/a;->b:Lcn/cheln/explorer/actions/OperationUtil;

    const/4 v0, 0x5

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->showDialog(I)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_7
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Lcn/cheln/explorer/beans/FileInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-static {p0}, Lcn/cheln/explorer/actions/OperationUtil;->c(Landroid/content/Context;)V

    move v0, v3

    goto/16 :goto_1

    :sswitch_8
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->showDialog(I)V

    move v0, v3

    goto/16 :goto_1

    :cond_5
    move-object v0, v7

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x13
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch

    :pswitch_data_1
    .packed-switch 0x1e
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
    .end packed-switch

    :sswitch_data_0
    .sparse-switch
        0x6 -> :sswitch_5
        0x7 -> :sswitch_4
        0x8 -> :sswitch_7
        0xa -> :sswitch_1
        0xb -> :sswitch_3
        0xc -> :sswitch_6
        0x10 -> :sswitch_0
        0x11 -> :sswitch_8
        0x24 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    const/16 v1, 0x800

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->requestWindowFeature(I)Z

    iput-object p0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->l()V

    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/direction/hold/ui/b;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/b;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    goto :goto_0
.end method

.method public onCreateContextMenu(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V
    .locals 6

    const/16 v5, 0x12

    const/16 v4, 0x1d

    const/4 v3, 0x0

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "------------------"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-interface {p1}, Landroid/view/ContextMenu;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iput-object p2, p0, Lcom/direction/hold/ui/CommonActivity;->H:Landroid/view/View;

    invoke-virtual {p2}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->g()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p2}, Landroid/view/View;->performClick()Z

    goto :goto_0

    :cond_1
    :try_start_0
    check-cast p3, Landroid/widget/AdapterView$AdapterContextMenuInfo;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    iget v1, p3, Landroid/widget/AdapterView$AdapterContextMenuInfo;->position:I

    invoke-virtual {v0, v1}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/beans/FileInfo;
    :try_end_0
    .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->m()V

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v1}, Landroid/view/ContextMenu;->setHeaderTitle(Ljava/lang/CharSequence;)Landroid/view/ContextMenu;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->i()Ljava/lang/Object;

    move-result-object v1

    instance-of v1, v1, Landroid/graphics/drawable/Drawable;

    if-eqz v1, :cond_2

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->i()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/drawable/Drawable;

    invoke-interface {p1, v1}, Landroid/view/ContextMenu;->setHeaderIcon(Landroid/graphics/drawable/Drawable;)Landroid/view/ContextMenu;

    :cond_2
    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    const-class v1, Lcom/direction/hold/ui/PathActivity;

    if-eq v0, v1, :cond_3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->c()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_3

    const/16 v0, 0x24

    const v1, 0x7f05001d

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    :cond_3
    const/16 v0, 0xc

    const v1, 0x7f05001c

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->c()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_4

    const v0, 0x7f0500be

    invoke-interface {p1, v0}, Landroid/view/ContextMenu;->addSubMenu(I)Landroid/view/SubMenu;

    move-result-object v0

    const/16 v1, 0x1e

    const v2, 0x7f05002b

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    const/16 v1, 0x1f

    const v2, 0x7f050029

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    const/16 v1, 0x20

    const v2, 0x7f05002a

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    const/16 v1, 0x21

    const v2, 0x7f0500bf

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    const/16 v1, 0x22

    const v2, 0x7f05002d

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    const/16 v1, 0x23

    const v2, 0x7f0500c0

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v4, v1, v3, v2}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    :cond_4
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    const-class v1, Lcom/direction/hold/ui/SearchActivity;

    if-eq v0, v1, :cond_5

    const/4 v0, 0x7

    const v1, 0x7f050017

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    :cond_5
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v0}, Lcn/cheln/explorer/beans/FileInfo;->m()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-static {v0}, Lcn/cheln/support/images/f;->a(Lcn/cheln/explorer/beans/FileInfo;)Lcn/cheln/support/images/f;

    move-result-object v0

    iget-object v0, v0, Lcn/cheln/support/images/f;->e:Ljava/lang/String;

    if-eqz v0, :cond_6

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "AUDIO"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const v0, 0x7f050085

    invoke-interface {p1, v0}, Landroid/view/ContextMenu;->addSubMenu(I)Landroid/view/SubMenu;

    move-result-object v0

    const/16 v1, 0x13

    const v2, 0x7f050082

    invoke-interface {v0, v5, v1, v3, v2}, Landroid/view/SubMenu;->add(IIII)Landroid/view/MenuItem;

    const/16 v1, 0x14

    const v2, 0x7f050083

    invoke-interface {v0, v5, v1, v3, v2}, Landroid/view/SubMenu;->add(IIII)Landroid/view/MenuItem;

    const/16 v1, 0x15

    const v2, 0x7f050084

    invoke-interface {v0, v5, v1, v3, v2}, Landroid/view/SubMenu;->add(IIII)Landroid/view/MenuItem;

    :cond_6
    const/16 v0, 0xa

    const v1, 0x7f05001a

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    const/16 v0, 0xb

    const v1, 0x7f05001b

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    const/16 v0, 0x8

    const v1, 0x7f050018

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    const/4 v0, 0x6

    const v1, 0x7f050016

    invoke-interface {p1, v3, v0, v3, v1}, Landroid/view/ContextMenu;->add(IIII)Landroid/view/MenuItem;

    goto/16 :goto_0

    :sswitch_1
    invoke-direct {p0, p1}, Lcom/direction/hold/ui/CommonActivity;->b(Landroid/view/ContextMenu;)V

    goto/16 :goto_0

    :sswitch_2
    invoke-virtual {p0, p1}, Lcom/direction/hold/ui/CommonActivity;->a(Landroid/view/ContextMenu;)V

    goto/16 :goto_0

    :catch_0
    move-exception v0

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f08005b -> :sswitch_0
        0x7f080073 -> :sswitch_2
        0x7f080084 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreateDialog(I)Landroid/app/Dialog;
    .locals 7

    const/4 v6, 0x0

    const/4 v3, -0x1

    const v5, 0x104000a

    const/high16 v4, 0x104

    const/4 v2, 0x0

    packed-switch p1, :pswitch_data_0

    :pswitch_0
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreateDialog(I)Landroid/app/Dialog;

    move-result-object v0

    :goto_0
    return-object v0

    :pswitch_1
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03000a

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    const v1, 0x7f08004b

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    const v2, 0x7f050015

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(I)V

    new-instance v2, Landroid/text/SpannableString;

    const v3, 0x7f050015

    invoke-virtual {p0, v3}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    const/4 v3, 0x4

    invoke-static {v2, v6, v3}, Landroid/text/Selection;->setSelection(Landroid/text/Spannable;II)V

    new-instance v2, Lcom/direction/hold/ui/CommonActivity$9;

    invoke-direct {v2, p0, p0}, Lcom/direction/hold/ui/CommonActivity$9;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/content/Context;)V

    iput-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    const v3, 0x1080027

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog;->setIcon(I)V

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    const v3, 0x7f05001f

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog;->setTitle(I)V

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    invoke-virtual {v2, v0}, Landroid/app/AlertDialog;->setView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    invoke-virtual {p0, v5}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/direction/hold/ui/CommonActivity$10;

    invoke-direct {v3, p0, v1}, Lcom/direction/hold/ui/CommonActivity$10;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/widget/EditText;)V

    invoke-virtual {v0, v2, v3}, Landroid/app/AlertDialog;->setButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcn/cheln/support/app/CancelClicker;

    invoke-direct {v2, p0}, Lcn/cheln/support/app/CancelClicker;-><init>(Landroid/app/Activity;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog;->setButton2(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->I:Landroid/app/AlertDialog;

    goto :goto_0

    :pswitch_2
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030005

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v2, 0x7f0500a3

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f050098

    new-instance v2, Lcom/direction/hold/ui/CommonActivity$11;

    invoke-direct {v2, p0}, Lcom/direction/hold/ui/CommonActivity$11;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_3
    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f05000c

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v3}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v6

    invoke-virtual {p0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x1080027

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CommonActivity$12;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CommonActivity$12;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v5, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcn/cheln/support/app/CancelClicker;

    invoke-direct {v1, p0}, Lcn/cheln/support/app/CancelClicker;-><init>(Landroid/app/Activity;)V

    invoke-virtual {v0, v4, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_4
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03000a

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f08004b

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    new-instance v2, Landroid/app/AlertDialog$Builder;

    invoke-direct {v2, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v3, 0x7f050017

    invoke-virtual {v2, v3}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    new-instance v2, Lcom/direction/hold/ui/CommonActivity$13;

    invoke-direct {v2, p0, v0}, Lcom/direction/hold/ui/CommonActivity$13;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/widget/EditText;)V

    invoke-virtual {v1, v5, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcn/cheln/support/app/CancelClicker;

    invoke-direct {v1, p0}, Lcn/cheln/support/app/CancelClicker;-><init>(Landroid/app/Activity;)V

    invoke-virtual {v0, v4, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_5
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030008

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v2, 0x7f05001c

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f050098

    new-instance v2, Lcn/cheln/support/app/CancelClicker;

    invoke-direct {v2, p0}, Lcn/cheln/support/app/CancelClicker;-><init>(Landroid/app/Activity;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNeutralButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_6
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03000b

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f08004c

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f08004c

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const v0, 0x7f08004d

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f08004d

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const v0, 0x7f08004e

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f08004e

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const v0, 0x7f08004c

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f08004d

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    const v0, 0x7f08004e

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v2, 0x7f0500a0

    invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    goto/16 :goto_0

    :pswitch_7
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030009

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v2, 0x7f0500aa

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CommonActivity$14;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CommonActivity$14;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v5, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    new-instance v1, Lcn/cheln/support/app/CancelClicker;

    invoke-direct {v1, p0}, Lcn/cheln/support/app/CancelClicker;-><init>(Landroid/app/Activity;)V

    invoke-virtual {v0, v4, v1}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    goto/16 :goto_0

    :pswitch_8
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030007

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v0}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v1

    const v2, 0x7f080033

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v2, Lcom/direction/hold/ui/CommonActivity$15;

    invoke-direct {v2, p0, v1}, Lcom/direction/hold/ui/CommonActivity$15;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/app/Dialog;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    move-object v0, v1

    goto/16 :goto_0

    :pswitch_9
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030007

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    new-instance v0, Landroid/app/AlertDialog$Builder;

    invoke-direct {v0, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v2

    const v0, 0x7f080033

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v3, 0x7f0500c5

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f080033

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v3, Lcom/direction/hold/ui/CommonActivity$16;

    invoke-direct {v3, p0, v2}, Lcom/direction/hold/ui/CommonActivity$16;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/app/Dialog;)V

    invoke-virtual {v0, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f080032

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    const v0, 0x7f0500c6

    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(I)V

    move-object v0, v2

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_2
        :pswitch_7
        :pswitch_6
        :pswitch_7
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_8
        :pswitch_9
    .end packed-switch
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .locals 3

    const v2, 0x7f0800b4

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreateOptionsMenu(Landroid/view/Menu;)Z

    invoke-interface {p1}, Landroid/view/Menu;->clear()V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->getMenuInflater()Landroid/view/MenuInflater;

    move-result-object v0

    const/high16 v1, 0x7f07

    invoke-virtual {v0, v1, p1}, Landroid/view/MenuInflater;->inflate(ILandroid/view/Menu;)V

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v0

    invoke-interface {v0}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v0

    invoke-interface {p1, v2}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/MenuItem;->getSubMenu()Landroid/view/SubMenu;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/SubMenu;->size()I

    move-result v1

    invoke-virtual {p0, v0, v1}, Lcom/direction/hold/ui/CommonActivity;->a(Landroid/view/Menu;I)V

    const/4 v0, 0x1

    return v0
.end method

.method protected onDestroy()V
    .locals 2

    const/4 v1, 0x0

    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    :cond_0
    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_1

    sget-object v0, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    sput-object v1, Lcn/cheln/explorer/actions/OperationUtil;->d:Landroid/app/ProgressDialog;

    :cond_1
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 7

    const/16 v5, 0x8

    const/4 v4, 0x3

    const/4 v3, 0x0

    const/4 v2, 0x1

    const-class v6, Lcom/direction/hold/ui/SearchActivity;

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "-----------KEYCODE_HOME "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    if-ne p1, v4, :cond_0

    move v1, v2

    :goto_0
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    const/16 v0, 0x54

    if-ne p1, v0, :cond_1

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/direction/hold/ui/SearchActivity;

    invoke-direct {v0, p0, v6}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "isNew"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->startActivity(Landroid/content/Intent;)V

    move v0, v3

    :goto_1
    return v0

    :cond_0
    move v1, v3

    goto :goto_0

    :cond_1
    if-ne p1, v4, :cond_2

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "android.intent.action.MAIN"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "android.intent.category.DEFAULT"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "android.intent.category.HOME"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->startActivity(Landroid/content/Intent;)V

    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1

    :cond_2
    const/4 v0, 0x4

    if-ne p1, v0, :cond_b

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "----------- action_flag "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v1}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->w:Ljava/lang/String;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/cheln/explorer/util/a;->b()V

    move v0, v2

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-direct {p0}, Lcom/direction/hold/ui/CommonActivity;->B()V

    move v0, v2

    goto :goto_1

    :cond_4
    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->t()Z

    move v0, v2

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_6

    invoke-virtual {p0, v3, v2}, Lcom/direction/hold/ui/CommonActivity;->a(ZZ)V

    invoke-virtual {p0, v5}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->c:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->requestLayout()V

    const/4 v0, 0x2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    move v0, v2

    goto/16 :goto_1

    :cond_6
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->cancel()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->v:Landroid/app/Dialog;

    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    :cond_7
    invoke-virtual {p0, v3, v2}, Lcom/direction/hold/ui/CommonActivity;->a(ZZ)V

    invoke-virtual {p0, v5}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    move v0, v2

    goto/16 :goto_1

    :cond_8
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    const-class v1, Lcom/direction/hold/ui/SearchActivity;

    if-ne v0, v6, :cond_9

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->finish()V

    move v0, v2

    goto/16 :goto_1

    :cond_9
    const-string v0, "------------ 11 "

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    invoke-static {}, Lcn/cheln/explorer/util/SDcardCheck;->a()Z

    move-result v0

    if-eqz v0, :cond_a

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->t()Z

    move-result v0

    if-eqz v0, :cond_a

    move v0, v2

    goto/16 :goto_1

    :cond_a
    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/cheln/explorer/util/a;->b()V

    move v0, v2

    goto/16 :goto_1

    :cond_b
    const/16 v0, 0x52

    if-ne p1, v0, :cond_c

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->openOptionsMenu()V

    move v0, v2

    goto/16 :goto_1

    :cond_c
    move v0, v3

    goto/16 :goto_1
.end method

.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 5

    const/16 v4, 0x8

    const/4 v1, -0x1

    const/4 v2, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    if-nez v0, :cond_0

    move v0, v3

    :goto_0
    return v0

    :cond_0
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    move v0, v1

    :goto_1
    invoke-interface {p1, v2}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v2, v0}, Lcn/cheln/explorer/actions/sort/a;->b(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->e:Lcn/cheln/explorer/actions/sort/a;

    invoke-interface {v0, v1}, Lcn/cheln/explorer/actions/sort/a;->a(I)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->x()V

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    invoke-virtual {p0, v4}, Lcom/direction/hold/ui/CommonActivity;->c(I)V

    move v0, v3

    goto :goto_0

    :pswitch_0
    move v0, v3

    move v1, v3

    goto :goto_1

    :pswitch_1
    const/4 v0, 0x2

    move v1, v0

    move v0, v3

    goto :goto_1

    :pswitch_2
    move v0, v2

    move v1, v2

    goto :goto_1

    :pswitch_3
    const/4 v0, 0x3

    move v1, v0

    move v0, v3

    goto :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x7f0800b6
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 4

    const/16 v1, 0x8

    const/4 v2, 0x0

    const/4 v3, 0x1

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->x()V

    invoke-super {p0, p1}, Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v0

    :goto_0
    return v0

    :sswitch_0
    invoke-super {p0, p1}, Landroid/app/Activity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v0

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0, v3}, Lcom/direction/hold/ui/CommonActivity;->showDialog(I)V

    move v0, v3

    goto :goto_0

    :sswitch_2
    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->u()V

    invoke-virtual {p0, v1}, Lcom/direction/hold/ui/CommonActivity;->a(I)V

    invoke-virtual {p0, v1}, Lcom/direction/hold/ui/CommonActivity;->c(I)V

    move v0, v3

    goto :goto_0

    :sswitch_3
    sget-boolean v0, Lcn/cheln/explorer/config/a;->b:Z

    if-nez v0, :cond_0

    move v0, v3

    :goto_1
    sput-boolean v0, Lcn/cheln/explorer/config/a;->b:Z

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->v()V

    move v0, v3

    goto :goto_0

    :cond_0
    move v0, v2

    goto :goto_1

    :sswitch_4
    invoke-static {}, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->b()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    invoke-virtual {v0}, Lcn/cheln/support/adapter/MapAdapter;->notifyDataSetChanged()V

    :cond_1
    sget-boolean v0, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->a:Z

    if-eqz v0, :cond_2

    const v0, 0x7f0500b9

    invoke-static {p0, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    move v0, v3

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const v1, 0x7f0500a2

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    sput-boolean v3, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->a:Z

    new-instance v0, Lcom/direction/hold/ui/CommonActivity$8;

    const-string v1, ""

    const/16 v2, 0xa

    invoke-direct {v0, p0, v1, v2}, Lcom/direction/hold/ui/CommonActivity$8;-><init>(Lcom/direction/hold/ui/CommonActivity;Ljava/lang/String;I)V

    invoke-virtual {v0}, Lcom/direction/hold/ui/CommonActivity$8;->start()V

    move v0, v3

    goto :goto_0

    :sswitch_5
    const/4 v0, 0x7

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->showDialog(I)V

    move v0, v3

    goto :goto_0

    :sswitch_6
    invoke-static {p0}, Lcom/umeng/fb/UMFeedbackService;->openUmengFeedbackSDK(Landroid/content/Context;)V

    move v0, v3

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x16 -> :sswitch_4
        0x17 -> :sswitch_3
        0x18 -> :sswitch_5
        0x7f0800b4 -> :sswitch_0
        0x7f0800ba -> :sswitch_1
        0x7f0800bb -> :sswitch_2
        0x7f0800bc -> :sswitch_6
    .end sparse-switch
.end method

.method protected onPrepareDialog(ILandroid/app/Dialog;)V
    .locals 13

    const v8, 0x7f08002a

    const/4 v12, 0x1

    const/16 v11, 0x8

    const/4 v10, 0x0

    const/4 v9, -0x1

    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onPrepareDialog(ILandroid/app/Dialog;)V

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_0

    const v1, 0x7f08004b

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    move-object v0, v1

    check-cast v0, Landroid/widget/EditText;

    move-object v7, v0

    new-instance v8, Lcn/cheln/explorer/beans/FileInfo;

    invoke-direct {v8}, Lcn/cheln/explorer/beans/FileInfo;-><init>()V

    const v1, 0x7f050015

    invoke-virtual {p0, v1}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v8, v1}, Lcn/cheln/explorer/beans/FileInfo;->a(Ljava/lang/String;)V

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcn/cheln/explorer/ds/sdcard/StrPrefixFilter;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Integer;

    invoke-static {v12}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v10

    sget-boolean v3, Lcn/cheln/explorer/config/a;->b:Z

    invoke-static {v3}, Lcn/cheln/explorer/config/a;->a(Z)I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v12

    sget-object v3, Lcn/cheln/explorer/config/Constants;->a:[Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;

    const/4 v4, 0x0

    invoke-virtual {v8}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v6

    invoke-direct/range {v1 .. v6}, Lcn/cheln/explorer/ds/sdcard/StrPrefixFilter;-><init>([Ljava/lang/Integer;[Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;[Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)V

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v2, v2, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v2}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcn/cheln/explorer/ds/a/c;

    iget-object v2, v2, Lcn/cheln/explorer/ds/a/c;->b:Ljava/lang/Object;

    check-cast v2, Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v2}, Lcn/cheln/explorer/beans/FileInfo;->p()Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/io/File;->listFiles(Ljava/io/FileFilter;)[Ljava/io/File;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_1

    invoke-virtual {v8}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v1

    :goto_1
    invoke-virtual {v7, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v7}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->length()I

    move-result v1

    invoke-virtual {v7, v10, v1}, Landroid/widget/EditText;->setSelection(II)V

    invoke-static {p0, v7}, Lcn/cheln/support/app/a;->a(Landroid/content/Context;Landroid/view/View;)V

    goto :goto_0

    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v8}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " ("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-virtual {v8}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v2

    invoke-static {v5, v2}, Lcn/cheln/explorer/actions/OperationUtil;->a(Ljava/util/List;Ljava/lang/String;)I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_1

    :pswitch_2
    const v1, 0x7f0500a4

    new-array v2, v12, [Ljava/lang/Object;

    invoke-static {}, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->a()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v10

    invoke-virtual {p0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->a()I

    move-result v3

    sget-object v4, Lcn/cheln/explorer/func/EmptyDirectoryCleaner;->b:Ljava/util/Set;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    if-nez v1, :cond_3

    new-instance v1, Lcn/cheln/explorer/cpnt/adapter/ColorInterchangedAdapter;

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    if-nez v5, :cond_2

    new-instance v5, Lcn/cheln/support/adapter/d;

    invoke-direct {v5}, Lcn/cheln/support/adapter/d;-><init>()V

    iput-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    const/4 v6, 0x2

    new-array v6, v6, [Ljava/lang/String;

    const-string v7, "firstline_name"

    aput-object v7, v6, v10

    const-string v7, "secondline_detail"

    aput-object v7, v6, v12

    iput-object v6, v5, Lcn/cheln/support/adapter/d;->b:[Ljava/lang/String;

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    new-instance v6, Lcn/cheln/explorer/cpnt/adapter/c;

    invoke-direct {v6}, Lcn/cheln/explorer/cpnt/adapter/c;-><init>()V

    iput-object v6, v5, Lcn/cheln/support/adapter/d;->a:Lcn/cheln/support/adapter/a;

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    const/4 v6, 0x2

    new-array v6, v6, [I

    fill-array-data v6, :array_0

    iput-object v6, v5, Lcn/cheln/support/adapter/d;->c:[I

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    const v6, 0x7f030006

    iput v6, v5, Lcn/cheln/support/adapter/d;->d:I

    :cond_2
    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->P:Lcn/cheln/support/adapter/d;

    invoke-direct {v1, p0, v5}, Lcn/cheln/explorer/cpnt/adapter/ColorInterchangedAdapter;-><init>(Landroid/content/Context;Lcn/cheln/support/adapter/d;)V

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    move-object v0, p2

    check-cast v0, Landroid/app/AlertDialog;

    move-object v1, v0

    const v5, 0x7f08002d

    invoke-virtual {v1, v5}, Landroid/app/AlertDialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ListView;

    iget-object v5, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    invoke-virtual {v1, v5}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_3
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->R:Lcn/cheln/support/adapter/MapAdapter;

    invoke-virtual {v1}, Lcn/cheln/support/adapter/MapAdapter;->notifyDataSetChanged()V

    const v1, 0x7f080029

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v1, 0x7f080029

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setTextColor(I)V

    move-object v0, p2

    check-cast v0, Landroid/app/AlertDialog;

    move-object v1, v0

    const v2, 0x7f08002b

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v11}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    invoke-virtual {v1, v11}, Landroid/widget/Button;->setVisibility(I)V

    const v1, 0x7f08002c

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v11}, Landroid/view/View;->setVisibility(I)V

    if-nez v3, :cond_4

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/Button;

    invoke-virtual {p0, v11}, Landroid/widget/Button;->setVisibility(I)V

    goto/16 :goto_0

    :cond_4
    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    const v2, 0x7f0500a5

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setText(I)V

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    invoke-virtual {v1, v10}, Landroid/widget/Button;->setVisibility(I)V

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    new-instance v2, Lcom/direction/hold/ui/CommonActivity$3;

    invoke-direct {v2, p0, p2, v4}, Lcom/direction/hold/ui/CommonActivity$3;-><init>(Lcom/direction/hold/ui/CommonActivity;Landroid/app/Dialog;Ljava/util/Collection;)V

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0

    :pswitch_3
    check-cast p2, Landroid/app/AlertDialog;

    const v1, 0x7f05000c

    new-array v2, v12, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v3}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v10

    invoke-virtual {p0, v1, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v1}, Landroid/app/AlertDialog;->setTitle(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_4
    const v1, 0x7f08004a

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    iget-object v2, v2, Lcn/cheln/explorer/beans/FileInfo;->isDir:Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_6

    const v2, 0x7f05000b

    :goto_2
    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

    const v1, 0x7f08004b

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v2}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    const-string v3, "."

    invoke-virtual {v2, v3}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v2

    if-ne v2, v9, :cond_5

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->length()I

    move-result v2

    :cond_5
    invoke-virtual {v1, v10, v2}, Landroid/widget/EditText;->setSelection(II)V

    invoke-static {p0, v1}, Lcn/cheln/support/app/a;->a(Landroid/content/Context;Landroid/view/View;)V

    goto/16 :goto_0

    :cond_6
    const v2, 0x7f0500a8

    goto :goto_2

    :pswitch_5
    const v1, 0x7f080035

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->L:Landroid/widget/TextView;

    const v1, 0x7f080037

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->M:Landroid/widget/TextView;

    const v1, 0x7f080034

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->N:Landroid/widget/TextView;

    const v1, 0x7f080036

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->O:Landroid/widget/TextView;

    const v1, 0x7f080039

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const v2, 0x7f08003b

    invoke-virtual {p2, v2}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    const v3, 0x7f08003d

    invoke-virtual {p2, v3}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    const v4, 0x7f08003f

    invoke-virtual {p2, v4}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    const v5, 0x7f080041

    invoke-virtual {p2, v5}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    const v6, 0x7f080043

    invoke-virtual {p2, v6}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    const v7, 0x7f080045

    invoke-virtual {p2, v7}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    iget-object v8, p0, Lcom/direction/hold/ui/CommonActivity;->L:Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v8, p0, Lcom/direction/hold/ui/CommonActivity;->M:Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v8, p0, Lcom/direction/hold/ui/CommonActivity;->N:Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v8, p0, Lcom/direction/hold/ui/CommonActivity;->O:Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v1, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v3, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v4, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v5, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v6, v9}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v7, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f080038

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f08003a

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f08003c

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f08003e

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f080040

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f080042

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v8, 0x7f080044

    invoke-virtual {p2, v8}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v8, Ljava/io/File;

    iget-object v9, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v9}, Lcn/cheln/explorer/beans/FileInfo;->g()Ljava/lang/String;

    move-result-object v9

    invoke-direct {v8, v9}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v8}, Ljava/io/File;->isDirectory()Z

    move-result v9

    if-eqz v9, :cond_7

    invoke-virtual {v2, v11}, Landroid/widget/TextView;->setVisibility(I)V

    const v2, 0x7f08003a

    invoke-virtual {p2, v2}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2, v11}, Landroid/view/View;->setVisibility(I)V

    :goto_3
    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v2}, Lcn/cheln/explorer/beans/FileInfo;->f()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v1}, Lcn/cheln/explorer/beans/FileInfo;->g()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcn/cheln/support/app/a;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v1}, Lcn/cheln/explorer/beans/FileInfo;->h()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v4, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v8}, Ljava/io/File;->canRead()Z

    move-result v1

    if-eqz v1, :cond_8

    const v1, 0x7f050033

    :goto_4
    invoke-virtual {v5, v1}, Landroid/widget/TextView;->setText(I)V

    invoke-virtual {v8}, Ljava/io/File;->canWrite()Z

    move-result v1

    if-eqz v1, :cond_9

    const v1, 0x7f050033

    :goto_5
    invoke-virtual {v6, v1}, Landroid/widget/TextView;->setText(I)V

    invoke-virtual {v8}, Ljava/io/File;->isHidden()Z

    move-result v1

    if-eqz v1, :cond_a

    const v1, 0x7f050033

    :goto_6
    invoke-virtual {v7, v1}, Landroid/widget/TextView;->setText(I)V

    const v1, 0x7f080046

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v11}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    const v9, 0x7f08003a

    invoke-virtual {p2, v9}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v9

    invoke-virtual {v9, v10}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v2, v10}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v9, p0, Lcom/direction/hold/ui/CommonActivity;->p:Lcn/cheln/explorer/beans/FileInfo;

    invoke-virtual {v9}, Lcn/cheln/explorer/beans/FileInfo;->j()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_3

    :cond_8
    const v1, 0x7f050034

    goto :goto_4

    :cond_9
    const v1, 0x7f050034

    goto :goto_5

    :cond_a
    const v1, 0x7f050034

    goto :goto_6

    :pswitch_6
    const v1, 0x7f080048

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const-string v3, "SP_IMAGE_FILTER_SIZE"

    const-string v4, "KEY_IMAGE_FILTER_SIZE"

    const-class v5, Ljava/lang/Float;

    invoke-static {v2, v3, v4, v5}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Float;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v1}, Landroid/widget/EditText;->selectAll()V

    const v1, 0x7f080047

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    invoke-virtual {p0, v9}, Landroid/widget/TextView;->setTextColor(I)V

    const v1, 0x7f080049

    invoke-virtual {p2, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    invoke-virtual {p0, v9}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_0
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_2
        :pswitch_6
        :pswitch_0
        :pswitch_0
    .end packed-switch

    :array_0
    .array-data 0x4
        0x2ft 0x0t 0x8t 0x7ft
        0x30t 0x0t 0x8t 0x7ft
    .end array-data
.end method

.method protected onStart()V
    .locals 3

    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    const-string v0, ""

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "-------- start"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;Ljava/lang/String;)V

    iput-object p0, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {}, Lcn/cheln/explorer/util/a;->a()Lcn/cheln/explorer/util/a;

    move-result-object v0

    iget-object v1, v0, Lcn/cheln/explorer/util/a;->a:Ljava/util/Map;

    invoke-interface {v1, p0}, Ljava/util/Map;->containsValue(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v0, v0, Lcn/cheln/explorer/util/a;->a:Ljava/util/Map;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-interface {v0, v1, p0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_1

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    if-nez v0, :cond_2

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const v2, 0x7f05007e

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CommonActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->f:Landroid/app/ProgressDialog;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    :cond_2
    new-instance v0, Lcn/cheln/explorer/actions/OperationUtil;

    invoke-direct {v0}, Lcn/cheln/explorer/actions/OperationUtil;-><init>()V

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v0, Lcn/cheln/explorer/actions/a;->a:Ljava/util/Map;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    invoke-interface {v0, v1, p0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    const/4 v0, 0x2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->p()V

    goto :goto_0
.end method

.method public onWindowFocusChanged(Z)V
    .locals 0

    invoke-super {p0, p1}, Landroid/app/Activity;->onWindowFocusChanged(Z)V

    return-void
.end method

.method public abstract p()V
.end method

.method protected final q()Landroid/content/Context;
    .locals 0

    return-object p0
.end method

.method public final r()V
    .locals 3

    const v2, 0x7f080073

    const v0, 0x7f080065

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v1, 0x7f08006a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->z:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v1, 0x7f080068

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->A:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v1, 0x7f080066

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->B:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v1, 0x7f08006d

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->C:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v1, 0x7f08006f

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->z:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->A:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->B:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->C:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->z:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->A:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->B:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->C:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    const v0, 0x7f08005d

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    const v1, 0x7f08005e

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->F:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->E:Landroid/view/View;

    const v1, 0x7f080060

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->G:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->F:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->G:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->F:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->G:Landroid/view/View;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnCreateContextMenuListener(Landroid/view/View$OnCreateContextMenuListener;)V

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/direction/hold/ui/CommonActivity$7;

    invoke-direct {v1, p0}, Lcom/direction/hold/ui/CommonActivity$7;-><init>(Lcom/direction/hold/ui/CommonActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0, v2}, Lcom/direction/hold/ui/CommonActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->K:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method public abstract s()Ljava/lang/String;
.end method

.method public setPageView(Landroid/view/View;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CommonActivity;->s:Landroid/view/View;

    return-void
.end method

.method protected t()Z
    .locals 5

    const/4 v4, 0x1

    const-string v0, "------------ 111 "

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    invoke-virtual {v0}, Lcn/cheln/explorer/ds/a/d;->a()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->pop()Ljava/lang/Object;

    const-string v0, "------------ 222 "

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->x:Landroid/widget/Button;

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/c;->c:Ljava/lang/String;

    const-string v2, "/"

    const-string v3, " / "

    invoke-virtual {v0, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v1, v1, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v1}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcn/cheln/explorer/ds/a/c;

    iget v1, v1, Lcn/cheln/explorer/ds/a/c;->a:I

    iget-object v2, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v2, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    invoke-virtual {p0, v0, v1, v4, v2}, Lcom/direction/hold/ui/CommonActivity;->a(Lcn/cheln/explorer/ds/a/c;III)V

    move v0, v4

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public u()V
    .locals 0

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->v()V

    return-void
.end method

.method public v()V
    .locals 4

    invoke-static {p0}, Lcn/cheln/explorer/util/SDcardCheck;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    sget-object v0, Lcom/direction/hold/ui/PathActivity;->v:Lcom/direction/hold/ui/PathActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/PathActivity;->B()V

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->a:Lcn/cheln/explorer/ds/a/d;

    iget-object v0, v0, Lcn/cheln/explorer/ds/a/d;->a:Ljava/util/Stack;

    invoke-virtual {v0}, Ljava/util/Stack;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcn/cheln/explorer/ds/a/c;

    const/4 v1, -0x1

    const/4 v2, 0x2

    iget-object v3, p0, Lcom/direction/hold/ui/CommonActivity;->o:Lcn/cheln/explorer/actions/OperationUtil;

    sget-object v3, Lcn/cheln/explorer/actions/OperationUtil;->c:Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    invoke-virtual {p0, v0, v1, v2, v3}, Lcom/direction/hold/ui/CommonActivity;->a(Lcn/cheln/explorer/ds/a/c;III)V

    invoke-virtual {p0}, Lcom/direction/hold/ui/CommonActivity;->j()V

    goto :goto_0
.end method

.method public final w()V
    .locals 4

    const v3, 0x7f080070

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->b:Lcn/cheln/explorer/cpnt/adapter/FileAdapter;

    invoke-virtual {v0}, Lcn/cheln/explorer/cpnt/adapter/FileAdapter;->h()Z

    move-result v1

    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    const v2, 0x7f080071

    invoke-static {v0, v2}, Lcn/cheln/support/app/a;->a(Ljava/lang/Object;I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const v2, 0x7f02001a

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    const v1, 0x7f05000e

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity;->q:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->requestLayout()V

    return-void

    :cond_0
    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity;->D:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const v2, 0x7f020019

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    const v1, 0x7f050012

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0
.end method

.method public abstract x()V
.end method

.method public y()Ljava/lang/String;
    .locals 1

    const-string v0, "*/*"

    return-object v0
.end method

.method protected abstract z()Ljava/lang/String;
.end method
